import Vue  from 'vue'
import Router from 'vue-router'



Vue .use(Router)

const routes=[{
    path:'/',
    name:'index',
    meta:{
        title:'demo引导页'
    },
    component:()=>import('@/views/demoIndex.vue')
},{
    path:'/defaultGlobal',
    name:'default',
    meta:{
        title:'空白球'
    },
    component:()=>import("@/pages/defaultGlobal.vue")
},{
    path:'/lighting',
    name:'lighting',
    meta:{
        title:'昼夜交替'
    },
    component:()=>import("@/pages/lightingEffect.vue")
},{
    path:'/imagelayer',
    name:'imagelayer',
    meta:{
        title:'影像图层'
    },
    component:()=>import("@/pages/imageLayer.vue")
},{
    path:'/plot',
    name:'plot',
    meta:{
        title:'标绘'
    },
    component:()=>import("@/pages/drawPlot.vue")
}]

const router=new Router({   
    routes
})
export default router